package com.yunupmall.api.fordentity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "commodity")
public class Commodity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 样图一
     */
    private String exampleImage1;
    /**
     * 样图一
     */
    private String exampleImage2;
    /**
     * 样图一
     */
    private String exampleImage3;
    /**
     * 样图一
     */
    private String exampleImage4;
    /**
     * 样图一
     */
    private String exampleImage5;
    /**
     * 样图一
     */
    private String exampleImage6;
    /**
     * 价格
     */
    private Double  price;
    /**
     *商品类别ID
     */
    private Integer kindId;
    /**
     * 品牌ID
      */
    private Integer brandId;
    /**
     * 商品状态
     */
    private Integer statics;
    /**
     * 删除标志
     */
    private Integer deflag;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 详情
     */
    private String allText;
    /**
     * 库存
     */
    private Integer stock;
}
